package com.hzeport.bgs22emduty.inbound.lsapi;

import com.hzeport.bgs22emduty.service.DutyScheduleInfoService;
import com.hzeport.bgs22emduty.service.ScreenDutyLogService;
import com.hzeport.bgs22emduty.vo.ls.ScreenDutyLogSaveVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

//import org.springframework.security.access.prepost.PreAuthorize;

/**
 * ${comments}
 *
 * @author code generator
 * @date 2023-02-14 09:39:44
 */
@RestController
@AllArgsConstructor
@RequestMapping("/screendutyInfols")
@Api(value = "screendutyInfols", tags = "值班人员管理管理ls")
@Slf4j
@CrossOrigin
public class ScreenScheduleInfoLSController {

    private final DutyScheduleInfoService dutyScheduleInfoService;

    @ApiOperation(value = "getDetail")
    @RequestMapping(value = "getDetail",method = RequestMethod.POST)
    public BaseResult thisTimeUser(@RequestParam("customnName")String customnName) {
        return dutyScheduleInfoService.thisTimeUser(customnName);
    }

}
